﻿using System;
namespace CodeNotes.Model
{
    /// <summary>
    /// CW_Book:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class CW_Book
    {
        public CW_Book()
        { }
        #region Model
        private int _id;
        private string _bookname;
        private string _author;
        private string _descriotion;
        private int? _clickcount;
        private int? _starcount;
        private bool _isover;
        private string _source;
        private DateTime? _createdate;
        private DateTime? _updatedate;
        private int? _sort;
        private bool _isshow;
        private int? _category;
        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BookName
        {
            set { _bookname = value; }
            get { return _bookname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Author
        {
            set { _author = value; }
            get { return _author; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Descriotion
        {
            set { _descriotion = value; }
            get { return _descriotion; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ClickCount
        {
            set { _clickcount = value; }
            get { return _clickcount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? StarCount
        {
            set { _starcount = value; }
            get { return _starcount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsOver
        {
            set { _isover = value; }
            get { return _isover; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Source
        {
            set { _source = value; }
            get { return _source; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? UpdateDate
        {
            set { _updatedate = value; }
            get { return _updatedate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Sort
        {
            set { _sort = value; }
            get { return _sort; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsShow
        {
            set { _isshow = value; }
            get { return _isshow; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Category
        {
            set { _category = value; }
            get { return _category; }
        }
        #endregion Model

    }
}

